package org.jeecg.modules.fw.service.impl;

import org.jeecg.modules.fw.entity.FwRoomRepair;
import org.jeecg.modules.fw.mapper.FwRoomRepairMapper;
import org.jeecg.modules.fw.service.IFwRoomRepairService;
import org.jeecg.modules.fw.vo.FwRoomRepairVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * @Description: fw_room_repair
 * @Author: jeecg-boot
 * @Date:   2023-04-17
 * @Version: V1.0
 */
@Service
public class FwRoomRepairServiceImpl extends ServiceImpl<FwRoomRepairMapper, FwRoomRepair> implements IFwRoomRepairService {

    @Override
    public List<FwRoomRepairVo> detailList() {
//        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//        String nowDate = format.format(new Date());
        return baseMapper.detailList(new Date());
    }
}
